package cn.com.xcf.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Date;

public class TFinFeeCheck implements Serializable {
    private String bizId;

    private String payDept;

    private String payDeptName;

    private String applyDept;

    private String applyDeptName;

    private String bizType;

    private String bizTypeDesc;

    private String ticketCategory;

    private String ticketName;

    private String feeCategory;

    private String feeCategoryDesc;

    private String feeDesc;

    private BigDecimal taxRatio;

    private BigDecimal fee;

    private BigDecimal feeAdded;

    private String portStart;

    private String portStartDesc;

    private String portEnd;

    private String portEndDesc;

    private String crtRemark;

    private Date operDate;

    private String applyCreator;

    private String applyCreatorName;

    private String operator;

    private String operatorName;

    private Date createTime;

    private byte[] applyDate;

    private static final long serialVersionUID = 1L;

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizId) {
        this.bizId = bizId;
    }

    public String getPayDept() {
        return payDept;
    }

    public void setPayDept(String payDept) {
        this.payDept = payDept;
    }

    public String getPayDeptName() {
        return payDeptName;
    }

    public void setPayDeptName(String payDeptName) {
        this.payDeptName = payDeptName;
    }

    public String getApplyDept() {
        return applyDept;
    }

    public void setApplyDept(String applyDept) {
        this.applyDept = applyDept;
    }

    public String getApplyDeptName() {
        return applyDeptName;
    }

    public void setApplyDeptName(String applyDeptName) {
        this.applyDeptName = applyDeptName;
    }

    public String getBizType() {
        return bizType;
    }

    public void setBizType(String bizType) {
        this.bizType = bizType;
    }

    public String getBizTypeDesc() {
        return bizTypeDesc;
    }

    public void setBizTypeDesc(String bizTypeDesc) {
        this.bizTypeDesc = bizTypeDesc;
    }

    public String getTicketCategory() {
        return ticketCategory;
    }

    public void setTicketCategory(String ticketCategory) {
        this.ticketCategory = ticketCategory;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public String getFeeCategory() {
        return feeCategory;
    }

    public void setFeeCategory(String feeCategory) {
        this.feeCategory = feeCategory;
    }

    public String getFeeCategoryDesc() {
        return feeCategoryDesc;
    }

    public void setFeeCategoryDesc(String feeCategoryDesc) {
        this.feeCategoryDesc = feeCategoryDesc;
    }

    public String getFeeDesc() {
        return feeDesc;
    }

    public void setFeeDesc(String feeDesc) {
        this.feeDesc = feeDesc;
    }

    public BigDecimal getTaxRatio() {
        return taxRatio;
    }

    public void setTaxRatio(BigDecimal taxRatio) {
        this.taxRatio = taxRatio;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public BigDecimal getFeeAdded() {
        return feeAdded;
    }

    public void setFeeAdded(BigDecimal feeAdded) {
        this.feeAdded = feeAdded;
    }

    public String getPortStart() {
        return portStart;
    }

    public void setPortStart(String portStart) {
        this.portStart = portStart;
    }

    public String getPortStartDesc() {
        return portStartDesc;
    }

    public void setPortStartDesc(String portStartDesc) {
        this.portStartDesc = portStartDesc;
    }

    public String getPortEnd() {
        return portEnd;
    }

    public void setPortEnd(String portEnd) {
        this.portEnd = portEnd;
    }

    public String getPortEndDesc() {
        return portEndDesc;
    }

    public void setPortEndDesc(String portEndDesc) {
        this.portEndDesc = portEndDesc;
    }

    public String getCrtRemark() {
        return crtRemark;
    }

    public void setCrtRemark(String crtRemark) {
        this.crtRemark = crtRemark;
    }

    public Date getOperDate() {
        return operDate;
    }

    public void setOperDate(Date operDate) {
        this.operDate = operDate;
    }

    public String getApplyCreator() {
        return applyCreator;
    }

    public void setApplyCreator(String applyCreator) {
        this.applyCreator = applyCreator;
    }

    public String getApplyCreatorName() {
        return applyCreatorName;
    }

    public void setApplyCreatorName(String applyCreatorName) {
        this.applyCreatorName = applyCreatorName;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public byte[] getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(byte[] applyDate) {
        this.applyDate = applyDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bizId=").append(bizId);
        sb.append(", payDept=").append(payDept);
        sb.append(", payDeptName=").append(payDeptName);
        sb.append(", applyDept=").append(applyDept);
        sb.append(", applyDeptName=").append(applyDeptName);
        sb.append(", bizType=").append(bizType);
        sb.append(", bizTypeDesc=").append(bizTypeDesc);
        sb.append(", ticketCategory=").append(ticketCategory);
        sb.append(", ticketName=").append(ticketName);
        sb.append(", feeCategory=").append(feeCategory);
        sb.append(", feeCategoryDesc=").append(feeCategoryDesc);
        sb.append(", feeDesc=").append(feeDesc);
        sb.append(", taxRatio=").append(taxRatio);
        sb.append(", fee=").append(fee);
        sb.append(", feeAdded=").append(feeAdded);
        sb.append(", portStart=").append(portStart);
        sb.append(", portStartDesc=").append(portStartDesc);
        sb.append(", portEnd=").append(portEnd);
        sb.append(", portEndDesc=").append(portEndDesc);
        sb.append(", crtRemark=").append(crtRemark);
        sb.append(", operDate=").append(operDate);
        sb.append(", applyCreator=").append(applyCreator);
        sb.append(", applyCreatorName=").append(applyCreatorName);
        sb.append(", operator=").append(operator);
        sb.append(", operatorName=").append(operatorName);
        sb.append(", createTime=").append(createTime);
        sb.append(", applyDate=").append(applyDate);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TFinFeeCheck other = (TFinFeeCheck) that;
        return (this.getBizId() == null ? other.getBizId() == null : this.getBizId().equals(other.getBizId()))
            && (this.getPayDept() == null ? other.getPayDept() == null : this.getPayDept().equals(other.getPayDept()))
            && (this.getPayDeptName() == null ? other.getPayDeptName() == null : this.getPayDeptName().equals(other.getPayDeptName()))
            && (this.getApplyDept() == null ? other.getApplyDept() == null : this.getApplyDept().equals(other.getApplyDept()))
            && (this.getApplyDeptName() == null ? other.getApplyDeptName() == null : this.getApplyDeptName().equals(other.getApplyDeptName()))
            && (this.getBizType() == null ? other.getBizType() == null : this.getBizType().equals(other.getBizType()))
            && (this.getBizTypeDesc() == null ? other.getBizTypeDesc() == null : this.getBizTypeDesc().equals(other.getBizTypeDesc()))
            && (this.getTicketCategory() == null ? other.getTicketCategory() == null : this.getTicketCategory().equals(other.getTicketCategory()))
            && (this.getTicketName() == null ? other.getTicketName() == null : this.getTicketName().equals(other.getTicketName()))
            && (this.getFeeCategory() == null ? other.getFeeCategory() == null : this.getFeeCategory().equals(other.getFeeCategory()))
            && (this.getFeeCategoryDesc() == null ? other.getFeeCategoryDesc() == null : this.getFeeCategoryDesc().equals(other.getFeeCategoryDesc()))
            && (this.getFeeDesc() == null ? other.getFeeDesc() == null : this.getFeeDesc().equals(other.getFeeDesc()))
            && (this.getTaxRatio() == null ? other.getTaxRatio() == null : this.getTaxRatio().equals(other.getTaxRatio()))
            && (this.getFee() == null ? other.getFee() == null : this.getFee().equals(other.getFee()))
            && (this.getFeeAdded() == null ? other.getFeeAdded() == null : this.getFeeAdded().equals(other.getFeeAdded()))
            && (this.getPortStart() == null ? other.getPortStart() == null : this.getPortStart().equals(other.getPortStart()))
            && (this.getPortStartDesc() == null ? other.getPortStartDesc() == null : this.getPortStartDesc().equals(other.getPortStartDesc()))
            && (this.getPortEnd() == null ? other.getPortEnd() == null : this.getPortEnd().equals(other.getPortEnd()))
            && (this.getPortEndDesc() == null ? other.getPortEndDesc() == null : this.getPortEndDesc().equals(other.getPortEndDesc()))
            && (this.getCrtRemark() == null ? other.getCrtRemark() == null : this.getCrtRemark().equals(other.getCrtRemark()))
            && (this.getOperDate() == null ? other.getOperDate() == null : this.getOperDate().equals(other.getOperDate()))
            && (this.getApplyCreator() == null ? other.getApplyCreator() == null : this.getApplyCreator().equals(other.getApplyCreator()))
            && (this.getApplyCreatorName() == null ? other.getApplyCreatorName() == null : this.getApplyCreatorName().equals(other.getApplyCreatorName()))
            && (this.getOperator() == null ? other.getOperator() == null : this.getOperator().equals(other.getOperator()))
            && (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (Arrays.equals(this.getApplyDate(), other.getApplyDate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getBizId() == null) ? 0 : getBizId().hashCode());
        result = prime * result + ((getPayDept() == null) ? 0 : getPayDept().hashCode());
        result = prime * result + ((getPayDeptName() == null) ? 0 : getPayDeptName().hashCode());
        result = prime * result + ((getApplyDept() == null) ? 0 : getApplyDept().hashCode());
        result = prime * result + ((getApplyDeptName() == null) ? 0 : getApplyDeptName().hashCode());
        result = prime * result + ((getBizType() == null) ? 0 : getBizType().hashCode());
        result = prime * result + ((getBizTypeDesc() == null) ? 0 : getBizTypeDesc().hashCode());
        result = prime * result + ((getTicketCategory() == null) ? 0 : getTicketCategory().hashCode());
        result = prime * result + ((getTicketName() == null) ? 0 : getTicketName().hashCode());
        result = prime * result + ((getFeeCategory() == null) ? 0 : getFeeCategory().hashCode());
        result = prime * result + ((getFeeCategoryDesc() == null) ? 0 : getFeeCategoryDesc().hashCode());
        result = prime * result + ((getFeeDesc() == null) ? 0 : getFeeDesc().hashCode());
        result = prime * result + ((getTaxRatio() == null) ? 0 : getTaxRatio().hashCode());
        result = prime * result + ((getFee() == null) ? 0 : getFee().hashCode());
        result = prime * result + ((getFeeAdded() == null) ? 0 : getFeeAdded().hashCode());
        result = prime * result + ((getPortStart() == null) ? 0 : getPortStart().hashCode());
        result = prime * result + ((getPortStartDesc() == null) ? 0 : getPortStartDesc().hashCode());
        result = prime * result + ((getPortEnd() == null) ? 0 : getPortEnd().hashCode());
        result = prime * result + ((getPortEndDesc() == null) ? 0 : getPortEndDesc().hashCode());
        result = prime * result + ((getCrtRemark() == null) ? 0 : getCrtRemark().hashCode());
        result = prime * result + ((getOperDate() == null) ? 0 : getOperDate().hashCode());
        result = prime * result + ((getApplyCreator() == null) ? 0 : getApplyCreator().hashCode());
        result = prime * result + ((getApplyCreatorName() == null) ? 0 : getApplyCreatorName().hashCode());
        result = prime * result + ((getOperator() == null) ? 0 : getOperator().hashCode());
        result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + (Arrays.hashCode(getApplyDate()));
        return result;
    }
}